public with Sharing class Cald_SearchClaimsVF
{
    public Boolean displayExportPaymentFlag {get; set;}
    public String opportunityName {get; set;}
    public String claimStatus {get; set;}
    public String claimName {get; set;}
    public Date filingDate {get; set;}
    public Callidus_Claim__c c {get; set;}
    
    public ID withdrawnClaimId {get; set;}
    public Callidus_Claim__c[] claimsList {get; set;}
    public Callidus_Claim__c[] approvedClaimsList {get; set;}
    
    public Cald_SearchClaimsVF()
    {
        c = new Callidus_Claim__c();
        claimsLIst = null;
        Profile[] p = [select Name from Profile where id = :Userinfo.getProfileId()];
        displayExportPaymentFlag = false;
        if(p.size() > 0 && p[0].name == 'System Administrator')
            displayExportPaymentFlag = !displayExportPaymentFlag;
            
    }
    
    public PageReference exportPayment()
    {
        PageReference p = new PageReference('/apex/Cald_Export_Payment');
        p.setRedirect(true);
        return p;
    }

    public PageReference getPayments()
    {
        approvedClaimsList = [select Name, Owner.Name, Opportunity__r.Name, Credit__c, Adjusted_Credit__c, Commission_Amount__c, Adjusted_Commission__c, Claim_Status__c from Callidus_Claim__c where Claim_Status__c = 'Approved' or Claim_Status__c = 'Rejected' or Claim_Status__c = 'Pending Approval'];
        return null;
    }
        
    public List<SelectOption> getClaimStatusList()
    {
        List<SelectOption> options = new List<SelectOption>();
        options.add(new SelectOption('select', 'Select'));
        options.add(new SelectOption('Pending Approval', 'Pending Approval'));
        options.add(new SelectOption('Approved', 'Approved'));
        options.add(new SelectOption('Rejected', 'Rejected'));
        options.add(new SelectOption('Withdrawn', 'Withdrawn'));
        return options;
    }
    
    public PageReference searchClaims()
    {
        if(claimStatus == 'select')
            claimStatus = '%';     
            
        if(claimName == '')
            claimName = '%';
        else
            claimName = '%'+claimName+'%';
        
        try
        {
            if(c.Opportunity__c == null)
                claimsList = [select Id, Name, Opportunity__c, Opportunity__r.Name, Claim_Status__c, Commission_Rate__c, Commission_Amount__c, Credit__c, Adjusted_Commission__c, Adjusted_Credit__c, Filing_Date__c, Assigned_To__c from Callidus_Claim__c where claim_status__c like :claimStatus and Name like :claimName and Filing_Date__c <= :c.Filing_Date__c order by createddate desc limit 50];
            else
                claimsList = [select Id, Name, Opportunity__c, Opportunity__r.Name, Claim_Status__c, Commission_Rate__c, Commission_Amount__c, Credit__c, Adjusted_Commission__c, Adjusted_Credit__c, Filing_Date__c, Assigned_To__c from Callidus_Claim__c where claim_status__c like :claimStatus and Name like :claimName and Opportunity__c = :c.Opportunity__c  and Filing_Date__c <= :c.Filing_Date__c order by createddate desc limit 50];
            
            if(claimsList != null && claimsList.size() == 0)
                claimsList = null;
        }
        catch(Exception e)
        {
            Apexpages.addMessage(new Apexpages.Message(ApexPages.severity.info ,e.getMessage()));
        }
        return null;
    }
    
    public PageReference withdrawClaim()
    {
        Callidus_Claim__c[] claimList = [select claim_status__c from Callidus_Claim__c where id = :withdrawnClaimId];
        if(claimList.size() > 0)
        {
            claimList[0].Claim_Status__c = 'Withdrawn';
            try
            {
                update claimList;
                searchClaims();
            }
            catch(Exception e)
            {
                Apexpages.addMessage(new Apexpages.Message(ApexPages.severity.info ,e.getMessage()));
            }
        }
        return null;
    }
    
    Boolean displayAssignedToFlag = false;
    public String checkCC()
    {
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;      
        displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag = displayAssignedToFlag;
        return 'success';      
    }

    static testMethod void testCald_SearchClaimsVF()
    {
        PageReference pg = Page.Cald_Search_Claims;
        Cald_SearchClaimsVF sc = new Cald_SearchClaimsVF();
        
        Callidus_Plan__c plan = new Callidus_Plan__c(Name = 'Test', Start_Date__c = Date.today(), End_Date__c = (Date.today() + 100), Quota__c = 1000000, Type__c = 'byRole');

        Test.startTest();
        insert plan;
		List<Callidus_Plan__c> tPlan = [select Name from Callidus_Plan__c where id = :plan.id];
		for(Callidus_Plan__c p:tPlan)
		{
			System.assertEquals('Test', p.Name);
		}

        Callidus_Rate__c rate = new Callidus_Rate__c(Plan__c = plan.id, Min_Attainment__c = 0, Max_attainment__c = 100, Rate__c = 1, Rate_Type__c = 'Attainment');
        insert rate;
		List<Callidus_Rate__c> tRate = [select Rate_Type__c from Callidus_Rate__c where Plan__c = :plan.id];
		for(Callidus_Rate__c p:tRate)
		{
			System.assertEquals('Attainment', p.Rate_Type__c);
		}

        rate = new Callidus_Rate__c(Plan__c = plan.id, Min_Attainment__c = 100, Max_attainment__c = 110, Rate__c = 2, Rate_Type__c = 'Attainment');
        insert rate;
		tRate = [select Rate__c, Rate_Type__c from Callidus_Rate__c where Plan__c = :plan.id];
		for(Callidus_Rate__c p:tRate)
		{
			System.assertEquals('Attainment', p.Rate_Type__c);
		}
        
        sc.c = new Callidus_Claim__c(Claim_Status__c = 'Pending', Filing_Date__c = Date.today(), Participant__c = UserInfo.getUserId(), Plan__c = plan.id);
        insert sc.c;
		List<Callidus_Claim__c> tClaim = [select Claim_Status__c from Callidus_Claim__c where Plan__c = :plan.id];
		for(Callidus_Claim__c p:tClaim)
		{
			System.assertEquals('Pending', p.Claim_Status__c);
		}

        sc.claimName = sc.c.Name;
        sc.claimStatus = sc.c.Claim_Status__c;
        sc.filingDate = sc.c.Filing_Date__c;
        sc.c.Claim_Status__c = 'Approved';
        system.assertEquals('Approved', sc.c.Claim_Status__c);
        update sc.c;
		tClaim = [select Claim_Status__c from Callidus_Claim__c where Plan__c = :plan.id];
		for(Callidus_Claim__c p:tClaim)
		{
			System.assertEquals('Approved', p.Claim_Status__c);
		}
		
		List<SelectOption> options = new List<SelectOption>();
        options.add(new SelectOption('select', 'Select'));
        options.add(new SelectOption('Pending Approval', 'Pending Approval'));
        options.add(new SelectOption('Approved', 'Approved'));
        options.add(new SelectOption('Rejected', 'Rejected'));
        options.add(new SelectOption('Withdrawn', 'Withdrawn'));
        system.assertEquals(options.get(1).getValue(), sc.getClaimStatusList().get(1).getValue());

        system.assertEquals(null, sc.searchClaims());
        System.assertEquals('success', sc.checkCC());
        
        sc.withdrawnClaimId = sc.c.Id;
        system.assertEquals(null, sc.withdrawClaim());
		

        sc.c.Claim_Status__c = 'Withdrawn';
        update sc.c;
        Test.stopTest();
		tClaim = [select Claim_Status__c from Callidus_Claim__c where Plan__c = :plan.id];
		for(Callidus_Claim__c p:tClaim)
		{
			System.assertEquals('Withdrawn', p.Claim_Status__c);
		}
		system.assertEquals(null, sc.getPayments());
		system.assertEquals('/apex/CCM__Cald_Export_Payment', sc.exportPayment().getUrl());
    }
}